tools/generate-uac-manifest.py: Fix UAC manifest .rc
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 13 Oct 2021 04:17:44 +0000 (12:17 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 13 Oct 2021 04:21:10 +0000 (12:21 +0800)
commit53705a537c1aa51ffbecfaaf685501b9ea1cb6ba
treeb87bb0d6d0a4546eefbd84ba3d44f67a620b3937
parent3481ebdafb474ce7e312914e998e7212ecdbc5ba
tools/generate-uac-manifest.py: Fix UAC manifest .rc

The resource compiler in the Windows 11 SDK does not allow one to include
winuser.h directly in resource scripts (.rc) with a rather cryptic error
message, so fix generating the .rc file to embed the UAC manifest by including
windows.h with WIN32_LEAN_AND_MEAN instead.
tools/generate-uac-manifest.py